package com.neno.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author root
 * @date 2018/11/9
 */

@Configuration
public class RabbitConfig {
    @Bean
    public Queue helloQueue() {
        return new Queue("hello");
    }

    @Bean
    public Queue neoQuene() {
        return new Queue("neoQuene");
    }

    @Bean
    public Queue objectQuene() {
        return new Queue("objectQuene");
    }
}
